package com.wxx.controller;

import com.wxx.util.JsonData;
import com.wxx.util.RedisPoolUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/redis/")
public class RedisController {


    @RequestMapping("test")
    public Object test() {

        RedisPoolUtil.set("wxx","pyf");

        return JsonData.success();
    }

}
